/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021.
 * Description: header for providing external interfaces for straightly
 * 		obtaining the CPU usage data of a thread
 * Author: chenzechuan
 * Create: 2021-4-25
 */

#ifndef LINUX_RTOS_THREAD_TIME_H
#define LINUX_RTOS_THREAD_TIME_H

#include <linux/sched.h>
extern int thread_group_cputime_get(struct task_struct *p, u64 *ut, u64 *st,
				    u64 *cut, u64 *cst);
#endif
